package school;

import java.sql.*;

public class Student {
	long stuno, gradeId;
	String sname, sex, telephone, qq, wechat, fromcity, address, pass;
	Date birthday, enterdate, lastexam;

	public Long getStuno() {
		return stuno;
	}

	public void setStuno(Long stuno) {
		this.stuno = stuno;
	}

	public Long getGradeId() {
		return gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(Date enterdate) {
		this.enterdate = enterdate;
	}

	public Date getLastexam() {
		return lastexam;
	}

	public void setLastexam(Date lastexam) {
		this.lastexam = lastexam;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", gradeId=" + gradeId + ", sname="
				+ sname + ", sex=" + sex + ", telephone=" + telephone + ", qq="
				+ qq + ", wechat=" + wechat + ", fromcity=" + fromcity
				+ ", address=" + address + ", pass=" + pass + ", birthday="
				+ birthday + ", enterdate=" + enterdate + ", lastexam="
				+ lastexam + "]";
	}

}
